<template>
  <div :style="style"></div>
</template>

<script setup>
import { computed } from 'vue'

const props = defineProps({
  size: { type: String, default: '16' },
})

const style = computed(() => ({
  width: `${Number(props.size) / 16}rem`,
  height: `${Number(props.size) / 16}rem`,
  background: `url(/images/premium/star.png) no-repeat center 100%/100%`,
}))
</script>
